package com.example.service.impl;

import com.example.dao.CourseDao;
import com.example.service.CourseService;

public class CourseServiceImpl implements CourseService {

    private CourseDao courseDao;

    @Override
    public void add() {
        System.out.println("执行了CourseService的add操作 = ");
        courseDao.add();
    }

    public void setCourseDao(CourseDao courseDao) {
        this.courseDao = courseDao;
    }
}
